﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Lawyer.aspx.cs" Inherits="HFWebManage.Lawyer.Lawyer" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <link href="../css/main.css" type="text/css" rel="stylesheet">
    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="../themes/base/jquery.ui.all.css" />
    <script type="text/javascript" src="../js/jquery-1.8.0.min.js"></script>
	<script type="text/javascript" src="../js/jquery.ui.core.js"></script>
	<script type="text/javascript" src="../js/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="../js/jquery.ui.datepicker.js"></script>
    <script type="text/javascript" src="../ckeditor/ckeditor.js"></script>
    <script type="text/javascript">
        function ConfirmDel(el_message) {
            if (confirm(el_message)) {
                return true;
            }
            else {
                return false;
            }
        }

        $(function () {
            $("#<%=tbBrithday.ClientID %>").datepicker();
        });
    </script>
</head>
<form id="theForm" runat="server">
<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
    <br>
    <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
        border="0">
        
        <tr>
            <th colspan="3">
                增加/修改   律师</th>
        </tr>
         <tr>
            <td class="usertablerow1" width="15%">账户 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbUID" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">密码 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbPWD" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">电子邮箱 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbEmail" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        
        <tr>
          <td class="usertablerow1">省份</td>
          <td class="usertablerow1">
             <asp:DropDownList ID="dropProvinceID" runat="server" AutoPostBack="True" 
                  onselectedindexchanged="dropProvinceID_SelectedIndexChanged" >
                </asp:DropDownList>
          </td>
          <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
          <td class="usertablerow1">城市</td>
          <td class="usertablerow1">
             <asp:DropDownList ID="dropCityID" runat="server" AutoPostBack="True" >
                </asp:DropDownList>
          </td>
          <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">真实姓名 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbRealName" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1">
                <div align="left">性别</div>
            </td>
            <td class="usertablerow1">
                <asp:RadioButtonList ID="rbsex" runat="server" 
                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Selected="True" Value="1">男</asp:ListItem>
                    <asp:ListItem Value="0">女</asp:ListItem>
                </asp:RadioButtonList>
            </td>
            <td class="usertablerow1">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">生日 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbBrithday" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">电话 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbPhone" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">手机 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbMobile" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">传真 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbFax" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">网站 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbWebSite" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">地址 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbAddress" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">邮箱 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbPost" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">擅长领域 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbAreas" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">擅长语言 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbLanguage" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">职业证号 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbLawyerNo" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">所在律所 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbLawyerFirm" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
           <td class="usertablerow1" width="15%">头像：</td>
           <td class="usertablerow1">
               <asp:Image ID="imgHeadPic" runat="server" Width="120px" />
           </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
         <td class="usertablerow1" width="15%">上传图片：</td>
            <td class="usertablerow1">
                <asp:FileUpload ID="FileUpload1" runat="server" />
            </td>
             <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">积分 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbPoint" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1" width="15%">点击量 </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbHits" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow1">
                <div align="left">个人简介</div>
            </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbContent" runat="server" Height="99px" TextMode="MultiLine" 
                    Width="383px"></asp:TextBox>
                    <script type="text/javascript">
                        CKEDITOR.replace('<%= tbContent.ClientID %>',
                                 {
                                     filebrowserBrowseUrl: '../ckfinder/ckfinder.html',
                                     filebrowserImageBrowseUrl: '../ckfinder/ckfinder.html?Type=Images',
                                     filebrowserFlashBrowseUrl: '../ckfinder/ckfinder.html?Type=Flash',
                                     filebrowserUploadUrl: '../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files',
                                     filebrowserImageUploadUrl: '../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images',
                                     filebrowserFlashUploadUrl: '../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash'
                                 }
                                );  
                      </script>
            </td>
            <td class="usertablerow1">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="usertablerow1">
                <div align="left">是否推荐到首页</div>
            </td>
            <td class="usertablerow1">
                <asp:RadioButtonList ID="rblisIndex" runat="server" 
                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Value="1">是</asp:ListItem>
                    <asp:ListItem Selected="True" Value="0">否</asp:ListItem>
                </asp:RadioButtonList>
            </td>
            <td class="usertablerow1">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="usertablerow1">
                <div align="left">是否推荐每日之星</div>
            </td>
            <td class="usertablerow1">
                <asp:RadioButtonList ID="rbisDayStar" runat="server" 
                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Value="1">是</asp:ListItem>
                    <asp:ListItem Selected="True" Value="0">否</asp:ListItem>
                </asp:RadioButtonList>
            </td>
            <td class="usertablerow1">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="usertablerow1">&nbsp;
                </td>
            <td class="usertablerow1">
                <div align="left">
                <asp:Button ID="Button1" runat="server" Text="保存" onclick="Button1_Click"/>
                    <asp:HiddenField ID="IDS" runat="server" />
                </div>
            </td>
            <td class="usertablerow1">&nbsp;</td>
        </tr>
        
    </table>
    <br />
    <br />
    <table class="usertableborder" cellspacing="1" cellpadding="4" width="96%" align="center"
        border="0">
        <tr>
            <td class="usertablerow1" >
                <asp:Label ID="pager" runat="server" Text=""></asp:Label></td>
        </tr>
    </table>
    <br />
</body>
</form>
</html>

